Sentiment continued to be weighed down by the government's move last week to withdraw high-value currency notes and disappointing quarterly earnings by some more blue-chip companies, brokers said.
Both benchmark indices were driven by strong gains in IT, teck, oil and gas, pharma and banking shares amid earnings optimism.
Markets ended in red, index heavyweights drag.
Tata Motors is stripped off India's most valuable company tag.
The broader NSE Nifty ended at 10,888, a gain of 0.77 per cent or 83 points, after shuttling between 10,900.35 and 10,844.85.
Mixed global cues and decline in crude oil prices further dent the sentiments.
The broader NSE Nifty, after shuttling between 10,600.25 and 10,491.45 points, ended the last session of Samvat 2074 with a rise of 6 points, or 0.06 per cent, to end at 10,530.
The Sensex posted its biggest single-day jump in over a decade at 1,921 points and investors' wealth soared by a staggering Rs 6.8 lakh crore after Finance Minister Nirmala Sitharaman delivered a surprise cut in corporate tax rates on Friday.
The breadth, indicating the overall health of the market, turned negative. On the BSE, 1,581 shares declined and 1,246 shares fell. A total of 165 shares were unchanged.
In the broader market, the S&P BSE Midcap ended 0.1% down, while the S&P BSE Smallcap index gained 0.3%.
The 30-share barometer remained up throughout and hit a high of 29,070.20, powered by a rally in RIL and other blue-chips. The index ended 215.74 points up, or 0.75 per cent, at 29,048.19 -- its highest closing since March 5, 2015, when it had closed at 29,448.95.
Side indices raced ahead with BSE Midcap and BSE Smallcap advancing 0.4% and 0.3% up, respectively.
On the BSE, 1,493 shares declined and 1,236 shares rose. A total of 177 shares were unchanged
Buying activity was so strong that all the sectoral indices except IT and technology ended in the green, rising by up to 3 per cent
Investors took comfort from Finance Minister Arun Jaitley's statement, who underlined the need to have globally compatible tax rates to broad-base the economy
Sun Pharma stole the show in the Sensex pack, spurting 3.91 per cent, followed by M&M at 2.87 per cent.
NSE Nifty, after shuttling between 10,809.60 and 10,725.90, finished 30.95 points, or 0.29 per cent lower at 10,741.10.
The NSE Nifty ended 89.40 points, or 0.83 per cent, lower at 10,710.45.
The market breadth, indicating the overall health of the market, was positive
The S&P BSE Midcap and the S&P BSE Smallcap indices slipped in red to shed over 1% each
Broader market underperformed with the BSE Midcap and the BSE Smallcap indices losing up to 0.2%
Markets ended flat on Tuesday, amid a volatile trading session, as investors exercised caution ahead of the two-day FOMC meet starting today and Reserve Bank of India's monetary policy later this week.
Shares of L&T Technology Services, an arm of engineering giant Larsen and Toubro, made a decent debut on the bourses
The BSE Sensex jumped 70.42 points to end at 34,503.49, while the broader NSE Nifty finished at 10,651.20, up 19 points.
The NSE 50-share Nifty also closed higher by 61.60 points, or 0.59 per cent, at 10,504.80 after shuttling between 10,513 and 10,441.45.
BSE Midcap and BSE Smallcap indices hit their fresh lifetime highs for the second day in a row
The market breadth, indicating the overall health of the market was strong
Among Sensex components, shares of Reliance Industries, India's largest company by market value, stole the show by surging 1.61 per cent to their highest in over three months.
The Nifty finished the day at 10,265.65, a hefty gain of 98.95 points, or 0.97 per cent, after shuttling between 10,270.85 and 10,195.25.
Barring oil and gas, all BSE sectoral indices finished in the green.
Stock specific action is seen with some of the prominent companies posting their quarterly numbers.
Top gainers include Yes Bank, HUL, Vedanta, NTPC, Bharti Airtel, Adani Ports, PowerGrid and Tata Motors, rising up to 5 per cent.
The indices closed with losses for the week, with the Sensex declining 476.14 points, and the broader NSE Nifty falling 155.45 points during the period.
Sentiment was hurt after market regulator Sebi directed bourses to initiate action against 331 suspected shell companies.
Investors booked profits in recent gainers
The Sensex swung over 660 points both ways on alternate bouts of selling and buying before closing the day higher by 97.39 points, or 0.28 per cent.
There were more than three losers against every gainer on BSE
Strong gains in metal, energy, auto and power shares lifted the key indices to new highs.
ICICI Bank was the top gainer in the Sensex pack, surging 4.64 per cent, followed by Axis Bank at 3.86 per cent and SBI 2.53 per cent.
The breadth, indicating the overall health of the market, turned negative from positive